Method for processing received PLC PDUS for D2D communication system and device therefor

ABSTRACT

The present invention relates to a wireless communication system. More specifically, the present invention relates to a method and a device for processing received RLC PDUs for D2D communication system, the method comprising: receiving a first RLC (Radio Link Control) PDU (Protocol Data Unit) for a RLC entity from a peer UE; establishing the RLC entity to process the first RLC PDU; setting a plurality of state variables for the RLC entity to a RLC sequence number (SN) of the first RLC PDU for the RLC entity; and processing the first RLC PDU using the plurality of state variables for the RLC entity set to the RLC SN of the first RLC PDU for the RLC entity.

This application claims the benefit of the U.S. Provisional Application No. 61/982,354, filed on Apr. 22, 2014, which is hereby incorporated by reference as if fully set forth herein.

BACKGROUND OF THE INVENTION

Field of the Invention

The present invention relates to a wireless communication system and, more particularly, to a method for processing received RLC PDUs (Radio Link Control Protocol Data Units) for D2D (Device to Device) communication system and a device therefor.

Discussion of the Related Art

As an example of a mobile communication system to which the present invention is applicable, a 3rd Generation Partnership Project Long Term Evolution (hereinafter, referred to as LTE) communication system is described in brief.

FIG. 1 is a view schematically illustrating a network structure of an E-UMTS as an exemplary radio communication system. An Evolved Universal Mobile Telecommunications System (E-UMTS) is an advanced version of a conventional Universal Mobile Telecommunications System (UMTS) and basic standardization thereof is currently underway in the 3GPP. E-UMTS may be generally referred to as a Long Term Evolution (LTE) system. For details of the technical specifications of the UMTS and E-UMTS, reference can be made to Release 7 and Release 8 of “3rd Generation Partnership Project; Technical Specification Group Radio Access Network”.

Referring to FIG. 1, the E-UMTS includes a User Equipment (UE), eNode Bs (eNBs), and an Access Gateway (AG) which is located at an end of the network (E-UTRAN) and connected to an external network. The eNBs may simultaneously transmit multiple data streams for a broadcast service, a multicast service, and/or a unicast service.

One or more cells may exist per eNB. The cell is set to operate in one of bandwidths such as 1.25, 2.5, 5, 10, 15, and 20 MHz and provides a downlink (DL) or uplink (UL) transmission service to a plurality of UEs in the bandwidth. Different cells may be set to provide different bandwidths. The eNB controls data transmission or reception to and from a plurality of UEs. The eNB transmits DL scheduling information of DL data to a corresponding UE so as to inform the UE of a time/frequency domain in which the DL data is supposed to be transmitted, coding, a data size, and hybrid automatic repeat and request (HARQ)-related information. In addition, the eNB transmits UL scheduling information of UL data to a corresponding UE so as to inform the UE of a time/frequency domain which may be used by the UE, coding, a data size, and HARQ-related information. An interface for transmitting user traffic or control traffic may be used between eNBs. A core network (CN) may include the AG and a network node or the like for user registration of UEs. The AG manages the mobility of a UE on a tracking area (TA) basis. One TA includes a plurality of cells.

Although wireless communication technology has been developed to LTE based on wideband code division multiple access (WCDMA), the demands and expectations of users and service providers are on the rise. In addition, considering other radio access technologies under development, new technological evolution is required to secure high competitiveness in the future. Decrease in cost per bit, increase in service availability, flexible use of frequency bands, a simplified structure, an open interface, appropriate power consumption of UEs, and the like are required.

SUMMARY OF THE INVENTION

The object of the present invention can be achieved by providing a method for a User Equipment (UE) operating in a wireless communication system, the method comprising: receiving a first RLC (Radio Link Control) PDU (Protocol Data Unit) for a RLC entity from a peer UE; establishing the RLC entity to process the first RLC PDU; setting a plurality of state variables for the RLC entity to an initial value, wherein the initial value is a RLC sequence number (SN) of the first RLC PDU for the RLC entity; and processing the first RLC PDU using the plurality of state variables for the RLC entity set to the RLC SN of the first RLC PDU for the RLC entity.

In another aspect of the present invention, provided herein is a UE (User Equipment) for operating in a wireless communication system, the UE comprising: an RF (Radio Frequency) module; and a processor configured to control the RF module, wherein the processor is configured to receive a first RLC (Radio Link Control) PDU (Protocol Data Unit) for a RLC entity from a peer UE, to establish the RLC entity to process the first RLC PDU, to set a plurality of state variables for the RLC entity to an initial value, wherein the initial value is a RLC sequence number (SN) of the first RLC PDU for the RLC entity, and to process the first RLC PDU using the plurality of state variables for the RLC entity set to the RLC SN of the first RLC PDU for the RLC entity.

Preferably, the RLC entity is a UM (Unacknowledged Mode)-RLC entity.

Preferably, the RLC PDU is an RLC UMD (Un Unacknowledged Mode Data) PDU.

Preferably, the plurality of state variables for the RLC entity comprises VR(UR) and VR(UH); wherein the VR(UR) is a received state variable for a UM RLC entity and holds a value of RLC SN of a earliest UMD PDU that is still considered for reordering, and the VR(UH) is highest received state variable for the UM RLC entity and holds a value of RLC SN following SN of a UMD PDU with the highest SN among received UMD PDUs.

Preferably, the first RLC PDU is an RLC PDU received firstly before any other RLC PDUs are received by the RLC entity from the peer UE.

It is to be understood that both the foregoing general description and the following detailed description of the present invention are exemplary and explanatory and are intended to provide further explanation of the invention as claimed.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principle of the invention.

FIG. 1 is a diagram showing a network structure of an Evolved Universal Mobile Telecommunications System (E-UMTS) as an example of a wireless communication system;

FIG. 2A is a block diagram illustrating network structure of an evolved universal mobile telecommunication system (E-UMTS), and FIG. 2B is a block diagram depicting architecture of a typical E-UTRAN and a typical EPC;

FIG. 3 is a diagram showing a control plane and a user plane of a radio inter-face protocol between a UE and an E-UTRAN based on a 3rd generation partnership project (3GPP) radio access network standard;

FIG. 4 is a diagram of an example physical channel structure used in an E-UMTS system;

FIG. 5 is a block diagram of a communication apparatus according to an embodiment of the present invention;

FIG. 6 is an example of default data path for a normal communication;

FIGS. 7-8 are examples of data path scenarios for a proximity communication;

FIG. 9 is a conceptual diagram illustrating for a non-roaming reference architecture;

FIG. 10 is a conceptual diagram illustrating for a Layer 2 Structure for Sidelink;

FIG. 11a is a conceptual diagram illustrating for User-Plane protocol stack for ProSe Direct Communication, and FIG. 11b is Control-Plane protocol stack for ProSe Direct Communication;

FIG. 12 is a conceptual diagram illustrating for a PC5 interface for ProSe Direct Discovery;

FIG. 13 is a conceptual diagram illustrating for model of two unacknowledged mode peer entities;

FIGS. 14a to 14f are conceptual diagrams illustrating for UMD PDU;

FIG. 15 is a conceptual diagram for functional view of a PDCP entity;

FIGS. 16a and 16b are conceptual diagrams for PDCP Data PDU format for DRBs;

FIG. 17 is a conceptual diagram for processing received RLC PDU for D2D communication according to embodiments of the present invention; and

FIG. 18 is a conceptual diagram for processing received PDCP PDU for D2D communication according to embodiments of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

Universal mobile telecommunications system (UMTS) is a 3rd Generation (3G) asynchronous mobile communication system operating in wideband code division multiple access (WCDMA) based on European systems, global system for mobile communications (GSM) and general packet radio services (GPRS). The long-term evolution (LTE) of UMTS is under discussion by the 3rd generation partnership project (3GPP) that standardized UMTS.

The 3GPP LTE is a technology for enabling high-speed packet communications. Many schemes have been proposed for the LTE objective including those that aim to reduce user and provider costs, improve service quality, and expand and improve coverage and system capacity. The 3G LTE requires reduced cost per bit, increased service availability, flexible use of a frequency band, a simple structure, an open interface, and adequate power consumption of a terminal as an upper-level requirement.

Hereinafter, structures, operations, and other features of the present invention will be readily understood from the embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Embodiments described later are examples in which technical features of the present invention are applied to a 3GPP system.

Although the embodiments of the present invention are described using a long term evolution (LTE) system and a LTE-advanced (LTE-A) system in the present specification, they are purely exemplary. Therefore, the embodiments of the present invention are applicable to any other communication system corresponding to the above definition. In addition, although the embodiments of the present invention are described based on a frequency division duplex (FDD) scheme in the present specification, the embodiments of the present invention may be easily modified and applied to a half-duplex FDD (H-FDD) scheme or a time division duplex (TDD) scheme.

FIG. 2A is a block diagram illustrating network structure of an evolved universal mobile telecommunication system (E-UMTS). The E-UMTS may be also referred to as an LTE system. The communication network is widely deployed to provide a variety of communication services such as voice (VoIP) through IMS and packet data.

As illustrated in FIG. 2A, the E-UMTS network includes an evolved UMTS terrestrial radio access network (E-UTRAN), an Evolved Packet Core (EPC) and one or more user equipment. The E-UTRAN may include one or more evolved NodeB (eNodeB) 20, and a plurality of user equipment (UE) 10 may be located in one cell. One or more E-UTRAN mobility management entity (MME)/system architecture evolution (SAE) gateways 30 may be positioned at the end of the network and connected to an external network.

As used herein, “downlink” refers to communication from eNodeB 20 to UE 10, and “uplink” refers to communication from the UE to an eNodeB. UE 10 refers to communication equipment carried by a user and may be also referred to as a mobile station (MS), a user terminal (UT), a subscriber station (SS) or a wireless device.

FIG. 2B is a block diagram depicting architecture of a typical E-UTRAN and a typical EPC.

As illustrated in FIG. 2B, an eNodeB 20 provides end points of a user plane and a control plane to the UE 10. MME/SAE gateway 30 provides an end point of a session and mobility management function for UE 10. The eNodeB and MME/SAE gateway may be connected via an S1 interface.

The eNodeB 20 is generally a fixed station that communicates with a UE 10, and may also be referred to as a base station (BS) or an access point. One eNodeB 20 may be deployed per cell. An interface for transmitting user traffic or control traffic may be used between eNodeBs 20.

The MME provides various functions including NAS signaling to eNodeBs 20, NAS signaling security, AS Security control, Inter CN node signaling for mobility between 3GPP access networks, Idle mode UE Reachability (including control and execution of paging retransmission), Tracking Area list management (for UE in idle and active mode), PDN GW and Serving GW selection, MME selection for handovers with MME change, SGSN selection for handovers to 2G or 3G 3GPP access networks, Roaming, Authentication, Bearer management functions including dedicated bearer establishment, Support for PWS (which includes ETWS and CMAS) message transmission. The SAE gateway host provides assorted functions including Per-user based packet filtering (by e.g. deep packet inspection), Lawful Interception, UE IP address allocation, Transport level packet marking in the downlink, UL and DL service level charging, gating and rate enforcement, DL rate enforcement based on APN-AMBR. For clarity MME/SAE gateway 30 will be referred to herein simply as a “gateway,” but it is understood that this entity includes both an MME and an SAE gateway.

A plurality of nodes may be connected between eNodeB 20 and gateway 30 via the S1 interface. The eNodeBs 20 may be connected to each other via an X2 interface and neighboring eNodeBs may have a meshed network structure that has the X2 interface.

As illustrated, eNodeB 20 may perform functions of selection for gateway 30, routing toward the gateway during a Radio Resource Control (RRC) activation, scheduling and transmitting of paging messages, scheduling and transmitting of Broadcast Channel (BCCH) information, dynamic allocation of resources to UEs 10 in both uplink and downlink, configuration and provisioning of eNodeB measurements, radio bearer control, radio admission control (RAC), and connection mobility control in LTE ACTIVE state. In the EPC, and as noted above, gateway 30 may perform functions of paging origination, LTE-IDLE state management, ciphering of the user plane, System Architecture Evolution (SAE) bearer control, and ciphering and integrity protection of Non-Access Stratum (NAS) signaling.

The EPC includes a mobility management entity (MME), a serving-gateway (S-GW), and a packet data network-gateway (PDN-GW). The MME has information about connections and capabilities of UEs, mainly for use in managing the mobility of the UEs. The S-GW is a gateway having the E-UTRAN as an end point, and the PDN-GW is a gateway having a packet data network (PDN) as an end point.

FIG. 3 is a diagram showing a control plane and a user plane of a radio interface protocol between a UE and an E-UTRAN based on a 3GPP radio access network standard. The control plane refers to a path used for transmitting control messages used for managing a call between the UE and the E-UTRAN. The user plane refers to a path used for transmitting data generated in an application layer, e.g., voice data or Internet packet data.

A physical (PHY) layer of a first layer provides an information transfer service to a higher layer using a physical channel. The PHY layer is connected to a medium access control (MAC) layer located on the higher layer via a transport channel. Data is transported between the MAC layer and the PHY layer via the transport channel. Data is transported between a physical layer of a transmitting side and a physical layer of a receiving side via physical channels. The physical channels use time and frequency as radio resources. In detail, the physical channel is modulated using an orthogonal frequency division multiple access (OFDMA) scheme in downlink and is modulated using a single carrier frequency division multiple access (SC-FDMA) scheme in uplink.

The MAC layer of a second layer provides a service to a radio link control (RLC) layer of a higher layer via a logical channel. The RLC layer of the second layer supports reliable data transmission. A function of the RLC layer may be implemented by a functional block of the MAC layer. A packet data convergence protocol (PDCP) layer of the second layer performs a header compression function to reduce unnecessary control information for efficient transmission of an Internet protocol (IP) packet such as an IP version 4 (IPv4) packet or an IP version 6 (IPv6) packet in a radio interface having a relatively small bandwidth.

A radio resource control (RRC) layer located at the bottom of a third layer is defined only in the control plane. The RRC layer controls logical channels, transport channels, and physical channels in relation to configuration, re-configuration, and release of radio bearers (RBs). An RB refers to a service that the second layer provides for data transmission between the UE and the E-UTRAN. To this end, the RRC layer of the UE and the RRC layer of the E-UTRAN exchange RRC messages with each other.

One cell of the eNB is set to operate in one of bandwidths such as 1.25, 2.5, 5, 10, 15, and 20 MHz and provides a downlink or uplink transmission service to a plurality of UEs in the bandwidth. Different cells may be set to provide different bandwidths.

Downlink transport channels for transmission of data from the E-UTRAN to the UE include a broadcast channel (BCH) for transmission of system information, a paging channel (PCH) for transmission of paging messages, and a downlink shared channel (SCH) for transmission of user traffic or control messages. Traffic or control messages of a downlink multicast or broadcast service may be transmitted through the downlink SCH and may also be transmitted through a separate downlink multicast channel (MCH).

Uplink transport channels for transmission of data from the UE to the E-UTRAN include a random access channel (RACH) for transmission of initial control messages and an uplink SCH for transmission of user traffic or control messages. Logical channels that are defined above the transport channels and mapped to the transport channels include a broadcast control channel (BCCH), a paging control channel (PCCH), a common control channel (CCCH), a multicast control channel (MCCH), and a multicast traffic channel (MTCH).

FIG. 4 is a view showing an example of a physical channel structure used in an E-UMTS system. A physical channel includes several subframes on a time axis and several subcarriers on a frequency axis. Here, one subframe includes a plurality of symbols on the time axis. One subframe includes a plurality of resource blocks and one resource block includes a plurality of symbols and a plurality of subcarriers. In addition, each subframe may use certain subcarriers of certain symbols (e.g., a first symbol) of a subframe for a physical downlink control channel (PDCCH), that is, an L1/L2 control channel. In FIG. 4, an L1/L2 control information transmission area (PDCCH) and a data area (PDSCH) are shown. In one embodiment, a radio frame of 10 ms is used and one radio frame includes 10 subframes. In addition, one subframe includes two consecutive slots. The length of one slot may be 0.5 ms. In addition, one subframe includes a plurality of OFDM symbols and a portion (e.g., a first symbol) of the plurality of OFDM symbols may be used for transmitting the L1/L2 control information. A transmission time interval (TTI) which is a unit time for transmitting data is 1 ms.

A base station and a UE mostly transmit/receive data via a PDSCH, which is a physical channel, using a DL-SCH which is a transmission channel, except a certain control signal or certain service data. Information indicating to which UE (one or a plurality of UEs) PDSCH data is transmitted and how the UE receive and decode PDSCH data is transmitted in a state of being included in the PDCCH.

For example, in one embodiment, a certain PDCCH is CRC-masked with a radio network temporary identity (RNTI) “A” and information about data is transmitted using a radio resource “B” (e.g., a frequency location) and transmission format information “C” (e.g., a transmission block size, modulation, coding information or the like) via a certain subframe. Then, one or more UEs located in a cell monitor the PDCCH using its RNTI information. And, a specific UE with RNTI “A” reads the PDCCH and then receive the PDSCH indicated by B and C in the PDCCH information.

FIG. 5 is a block diagram of a communication apparatus according to an embodiment of the present invention.

The apparatus shown in FIG. 5 can be a user equipment (UE) and/or eNB adapted to perform the above mechanism, but it can be any apparatus for performing the same operation.

As shown in FIG. 5, the apparatus may comprises a DSP/microprocessor (110) and RF module (transceiver; 135). The DSP/microprocessor (110) is electrically connected with the transceiver (135) and controls it. The apparatus may further include power management module (105), battery (155), display (115), keypad (120), SIM card (125), memory device (130), speaker (145) and input device (150), based on its implementation and designer's choice.

Specifically, FIG. 5 may represent a UE comprising a receiver (135) configured to receive a request message from a network, and a transmitter (135) configured to transmit the transmission or reception timing information to the network. These receiver and the transmitter can constitute the transceiver (135). The UE further comprises a processor (110) connected to the transceiver (135: receiver and transmitter).

Also, FIG. 5 may represent a network apparatus comprising a transmitter (135) configured to transmit a request message to a UE and a receiver (135) configured to receive the transmission or reception timing information from the UE. These transmitter and receiver may constitute the transceiver (135). The network further comprises a processor (110) connected to the transmitter and the receiver. This processor (110) may be configured to calculate latency based on the transmission or reception timing information.

Recently, Proximity-based Service (ProSe) has been discussed in 3GPP. The ProSe enables different UEs to be connected (directly) each other (after appropriate procedure(s), such as authentication), through eNB only (but not further through Serving Gateway (SGW)/Packet Data Network Gateway (PDN-GW, PGW)), or through SGW/PGW. Thus, using the ProSe, device to device direct communication can be provided, and it is expected that every devices will be connected with ubiquitous connectivity. Direct communication between devices in a near distance can lessen the load of network. Recently, proximity-based social network services have come to public attention, and new kinds of proximity-based applications can be emerged and may create new business market and revenue. For the first step, public safety and critical communication are required in the market. Group communication is also one of key components in the public safety system. Required functionalities are: Discovery based on proximity, Direct path communication, and Management of group communications.

Use cases and scenarios are for example: i) Commercial/social use, ii) Network offloading, iii) Public Safety, iv) Integration of current infrastructure services, to assure the consistency of the user experience including reachability and mobility aspects, and v) Public Safety, in case of absence of EUTRAN coverage (subject to regional regulation and operator policy, and limited to specific public-safety designated frequency bands and terminals)

FIG. 6 is an example of default data path for communication between two UEs. With reference to FIG. 6, even when two UEs (e.g., UE1, UE2) in close proximity communicate with each other, their data path (user plane) goes via the operator network. Thus a typical data path for the communication involves eNB(s) and/or Gateway(s) (GW(s)) (e.g., SGW/PGW).

FIGS. 7 and 8 are examples of data path scenarios for a proximity communication. If wireless devices (e.g., UE1, UE2) are in proximity of each other, they may be able to use a direct mode data path (FIG. 7) or a locally routed data path (FIG. 8). In the direct mode data path, wireless devices are connected directly each other (after appropriate procedure(s), such as authentication), without eNB and SGW/PGW. In the locally routed data path, wireless devices are connected each other through eNB only.

FIG. 9 is a conceptual diagram illustrating for a non-roaming reference architecture.

PC1 to PC5 represent interfaces. PC1 is a reference point between a ProSe application in a UE and a ProSe App server. It is used to define application level signaling requirements. PC2 is a reference point between the ProSe App Server and the ProSe Function. It is used to define the interaction between ProSe App Server and ProSe functionality provided by the 3GPP EPS via ProSe Function. One example may be for application data updates for a ProSe database in the ProSe Function. Another example may be data for use by ProSe App Server in interworking between 3GPP functionality and application data, e.g. name translation. PC3 is a reference point between the UE and ProSe Function. It is used to define the interaction between UE and ProSe Function. An example may be to use for configuration for ProSe discovery and communication. PC4 is a reference point between the EPC and ProSe Function. It is used to define the interaction between EPC and ProSe Function. Possible use cases may be when setting up a one-to-one communication path between UEs or when validating ProSe services (authorization) for session management or mobility management in real time.

PC5 is a reference point between UE to UE used for control and user plane for discovery and communication, for relay and one-to-one communication (between UEs directly and between UEs over LTE-Uu). Lastly, PC6 is a reference point may be used for functions such as ProSe Discovery between users subscribed to different PLMNs.

EPC (Evolved Packet Core) includes entities such as MME, S-GW, P-GW, PCRF, HSS etc. The EPC here represents the E-UTRAN Core Network architecture. Interfaces inside the EPC may also be impacted albeit they are not explicitly shown in FIG. 9.

Application servers, which are users of the ProSe capability for building the application functionality, e.g. in the Public Safety cases they can be specific agencies (PSAP) or in the commercial cases social media. These applications are defined outside the 3GPP architecture but there may be reference points towards 3GPP entities. The Application server can communicate towards an application in the UE.

Applications in the UE use the ProSe capability for building the application functionality. Example may be for communication between members of Public Safety groups or for social media application that requests to find buddies in proximity. The ProSe Function in the network (as part of EPS) defined by 3GPP has a reference point towards the ProSe App Server, towards the EPC and the UE.

The functionality may include but not restricted to e.g.:

-   -   Interworking via a reference point towards the 3rd party         Applications     -   Authorization and configuration of the UE for discovery and         Direct communication     -   Enable the functionality of the EPC level ProSe discovery     -   ProSe related new subscriber data and/handling of data storage;         also handling of ProSe identities;     -   Security related functionality     -   Provide Control towards the EPC for policy related functionality     -   Provide functionality for charging (via or outside of EPC, e.g.         offline charging)

Especially, the following identities are used for ProSe Direct Communication:

-   -   Source Layer-2 ID identifies a sender of a D2D packet at PC5         interface. The Source Layer-2 ID is used for identification of         the receiver RLC UM entity;     -   Destination Layer-2 ID identifies a target of the D2D packet at         PC5 interface. The Destination Layer-2 ID is used for filtering         of packets at the MAC layer. The Destination Layer-2 ID may be a         broadcast, groupcast or unicast identifier; and     -   SA L1 ID identifier in Scheduling Assignment (SA) at PC5         interface. SA L1 ID is used for filtering of packets at the         physical layer. The SA L1 ID may be a broadcast, groupcast or         unicast identifier.

No Access Stratum signaling is required for group formation and to configure Source Layer-2 ID and Destination Layer-2 ID in the UE. This information is provided by higher layers.

In case of groupcast and unicast, the MAC layer will convert the higher layer ProSe ID (i.e. ProSe Layer-2 Group ID and ProSe UE ID) identifying the target (Group, UE) into two bit strings of which one can be forwarded to the physical layer and used as SA L1 ID whereas the other is used as Destination Layer-2 ID. For broadcast, L2 indicates to L1 that it is a broadcast transmission using a pre-defined SA L1 ID in the same format as for group- and unicast.

FIG. 10 is a conceptual diagram illustrating for a Layer 2 structure for Sidelink.

The Sidelink is UE to UE interface for ProSe direct communication and ProSe Direct Discovery. Corresponds to the PC5 interface. The Sidelink comprises ProSe Direct Discovery and ProSe Direct Communication between UEs. The Sidelink uses uplink resources and physical channel structure similar to uplink transmissions. However, some changes, noted below, are made to the physical channels. E-UTRA defines two MAC entities; one in the UE and one in the E-UTRAN. These MAC entities handle the following transport channels additionally, i) sidelink broadcast channel (SL-BCH), ii) sidelink discovery channel (SL-DCH) and iii) sidelink shared channel (SL-SCH).

-   -   Basic transmission scheme: the Sidelink transmission uses the         same basic transmission scheme as the UL transmission scheme.         However, sidelink is limited to single cluster transmissions for         all the sidelink physical channels. Further, sidelink uses a 1         symbol gap at the end of each sidelink sub-frame.     -   Physical-layer processing: the Sidelink physical layer         processing of transport channels differs from UL transmission in         the following steps:

i) Scrambling: for PSDCH and PSCCH, the scrambling is not UE-specific;

ii) Modulation: 64 QAM is not supported for Sidelink.

-   -   Physical Sidelink control channel: PSCCH is mapped to the         Sidelink control resources. PSCCH indicates resource and other         transmission parameters used by a UE for PSSCH.     -   Sidelink reference signals: for PSDCH, PSCCH and PSSCH         demodulation, reference signals similar to uplink demodulation         reference signals are transmitted in the 4th symbol of the slot         in normal CP and in the 3rd symbol of the slot in extended         cyclic prefix. The Sidelink demodulation reference signals         sequence length equals the size (number of sub-carriers) of the         assigned resource. For PSDCH and PSCCH, reference signals are         created based on a fixed base sequence, cyclic shift and         orthogonal cover code.     -   Physical channel procedure: for in-coverage operation, the power         spectral density of the sidelink transmissions can be influenced         by the eNB.

FIG. 11a is a conceptual diagram illustrating for User-Plane protocol stack for ProSe Direct Communication, and FIG. 11b is Control-Plane protocol stack for ProSe Direct Communication.

FIG. 11a shows the protocol stack for the user plane, where PDCP, RLC and MAC sublayers (terminate at the other UE) perform the functions listed for the user plane (e.g. header compression, HARQ retransmissions). The PC5 interface consists of PDCP, RLC, MAC and PHY as shown in FIG. 11 a.

User plane details of ProSe Direct Communication: i) MAC sub header contains LCIDs (to differentiate multiple logical channels), ii) The MAC header comprises a Source Layer-2 ID and a Destination Layer-2 ID, iii) At MAC Multiplexing/demultiplexing, priority handling and padding are useful for ProSe Direct communication, iv) RLC UM is used for ProSe Direct communication, v) Segmentation and reassembly of RLC SDUs are performed, vi) A receiving UE needs to maintain at least one RLC UM entity per transmitting peer UE, vii) An RLC UM receiver entity does not need to be configured prior to reception of the first RLC UM data unit, and viii) U-Mode is used for header compression in PDCP for ProSe Direct Communication.

FIG. 11b shows the protocol stack for the control plane, where RRC, RLC, MAC, and PHY sublayers (terminate at the other UE) perform the functions listed for the control plane. A D2D UE does not establish and maintain a logical connection to receiving D2D UEs prior to a D2D communication.

FIG. 12 is a conceptual diagram illustrating for a PC5 interface for ProSe Direct Discovery.

ProSe Direct Discovery is defined as the procedure used by the ProSe-enabled UE to discover other ProSe-enabled UE(s) in its proximity using E-UTRA direct radio signals via PC5.

Radio Protocol Stack (AS) for ProSe Direct Discovery is shown in FIG. 12.

The AS layer performs the following functions:

-   -   Interfaces with upper layer (ProSe Protocol): The MAC layer         receives the discovery information from the upper layer (ProSe         Protocol). The IP layer is not used for transmitting the         discovery information.     -   Scheduling: The MAC layer determines the radio resource to be         used for announcing the discovery information received from         upper layer.     -   Discovery PDU generation: The MAC layer builds the MAC PDU         carrying the discovery information and sends the MAC PDU to the         physical layer for transmission in the determined radio         resource. No MAC header is added.

There are two types of resource allocation for discovery information announcement.

-   -   Type 1: A resource allocation procedure where resources for         announcing of discovery information are allocated on a non UE         specific basis, further characterized by: i) The eNB provides         the UE(s) with the resource pool configuration used for         announcing of discovery information. The configuration may be         signalled in SIB, ii) The UE autonomously selects radio         resource(s) from the indicated resource pool and announce         discovery information, iii) The UE can announce discovery         information on a randomly selected discovery resource during         each discovery period.     -   Type 2: A resource allocation procedure where resources for         announcing of discovery information are allocated on a per UE         specific basis, further characterized by: i) The UE in         RRC_CONNECTED may request resource(s) for announcing of         discovery information from the eNB via RRC, ii) The eNB assigns         resource(s) via RRC, iii) The resources are allocated within the         resource pool that is configured in UEs for monitoring.

For UEs in RRC_IDLE, the eNB may select one of the following options:

-   -   The eNB may provide a Type 1 resource pool for discovery         information announcement in SIB. UEs that are authorized for         Prose Direct Discovery use these resources for announcing         discovery information in RRC_IDLE.     -   The eNB may indicate in SIB that it supports D2D but does not         provide resources for discovery information announcement. UEs         need to enter RRC Connected in order to request D2D resources         for discovery information announcement.

For UEs in RRC_CONNECTED,

-   -   A UE authorized to perform ProSe Direct Discovery announcement         indicates to the eNB that it wants to perform D2D discovery         announcement.     -   The eNB validates whether the UE is authorized for ProSe Direct         Discovery announcement using the UE context received from MME.     -   The eNB may configure the UE to use a Type 1 resource pool or         dedicated Type 2 resources for discovery information         announcement via dedicated RRC signaling (or no resource).     -   The resources allocated by the eNB are valid until a) the eNB         de-configures the resource(s) by RRC signaling or b) the UE         enters IDLE. (FFS whether resources may remain valid even in         IDLE).

Receiving UEs in RRC_IDLE and RRC_CONNECTED monitor both Type 1 and Type 2 discovery resource pools as authorized. The eNB provides the resource pool configuration used for discovery information monitoring in SIB. The SIB may contain discovery resources used for announcing in neighbor cells as well.

FIG. 13 is a conceptual diagram illustrating for model of two unacknowledged mode peer entities.

In UM (Unacknowledged Mode), in-sequence delivery to higher layers is provided, but no retransmissions of missing PDUs are requested. UM is typically used for services such as VoIP where error-free delivery is of less importance compared to short delivery time. TM (Transparent Mode), although supported, is only used for specific purposes such as random access.

Unacknowledged mode (UM) supports segmentation/reassembly and in-sequence delivery, but not retransmissions. This mode is used when error-free delivery is not required, for example voice-over IP, or when retransmissions cannot be requested, for example broadcast transmissions on MTCH and MCCH using MBSFN.

When a transmitting UM RLC entity forms UMD PDUs from RLC SDUs, the transmitting UM RLC entity may i) segment and/or concatenate the RLC SDUs so that the UMD PDUs fit within the total size of RLC PDU(s) indicated by lower layer at the particular transmission opportunity notified by lower layer; and ii) include relevant RLC headers in the UMD PDU.

When a receiving UM RLC entity receives UMD PDUs, the receiving UM RLC entity may i) detect whether or not the UMD PDUs have been received in duplication, and discard duplicated UMD PDUs; ii) reorder the UMD PDUs if they are received out of sequence; iii) detect the loss of UMD PDUs at lower layers and avoid excessive reordering delays; iv) reassemble RLC SDUs from the reordered UMD PDUs (not accounting for RLC PDUs for which losses have been detected) and deliver the RLC SDUs to upper layer in ascending order of the RLC SN; and v) discard received UMD PDUs that cannot be reassembled into a RLC SDU due to loss at lower layers of an UMD PDU which belonged to the particular RLC SDU.

At the time of RLC re-establishment, the receiving UM RLC entity may reassemble RLC SDUs from the UMD PDUs that are received out of sequence and deliver them to upper layer, if possible; ii) discard any remaining UMD PDUs that could not be reassembled into RLC SDUs; and iii) initialize relevant state variables and stop relevant timers.

The receiving UM RLC entity may maintain a reordering window according to state variable VR(UH) as follows:

i) a SN falls within the reordering window if (VR(UH)-UM_Window_Size)≤SN<VR(UH);

ii) a SN falls outside of the reordering window otherwise.

When receiving an UMD PDU from lower layer, the receiving UM RLC entity may either discard the received UMD PDU or place it in the reception buffer.

If the received UMD PDU was placed in the reception buffer, the receiving UM RLC may update state variables, reassemble and deliver RLC SDUs to upper layer and start/stop t-Reordering as needed.

When t-Reordering expires, the receiving UM RLC entity may update state variables, reassemble and deliver RLC SDUs to upper layer and start t-Reordering as needed

When an UMD PDU with SN=x is received from lower layer, the receiving UM RLC entity may discard the received UMD PDU, if VR(UR)<x<VR(UH) and the UMD PDU with SN=x has been received before; or if (VR(UH)-UM_Window_Size)≤x<VR(UR).

Else, the receiving UM RLC entity may place the received UMD PDU in the reception buffer.

When an UMD PDU with SN=x is placed in the reception buffer, the receiving UM RLC entity may update VR(UH) to x+1 and reassemble RLC SDUs from any UMD PDUs with SN that falls outside of the reordering window, remove RLC headers when doing so and deliver the reassembled RLC SDUs to upper layer in ascending order of the RLC SN if not delivered before, if x falls outside of the reordering window.

If VR(UR) falls outside of the reordering window, the receiving UM RLC entity may set VR(UR) to (VR(UH)-UM_Window_Size).

If the reception buffer contains an UMD PDU with SN=VR(UR), the receiving UM RLC entity may update VR(UR) to the SN of the first UMD PDU with SN>current VR(UR) that has not been received; and reassemble RLC SDUs from any UMD PDUs with SN<updated VR(UR), remove RLC headers when doing so and deliver the reassembled RLC SDUs to upper layer in ascending order of the RLC SN if not delivered before;

If t-Reordering is running and VR(UX)≤VR(UR); or if t-Reordering is running and VR(UX) falls outside of the reordering window and VR(UX) is not equal to VR(UH), the receiving UM RLC entity may stop and reset t-Reordering.

If t-Reordering is not running (includes the case when t-Reordering is stopped due to actions above) and VR(UH)>VR(UR), the receiving UM RLC entity may start t-Reordering, and set VR(UX) to VR(UH).

When t-Reordering expires, the receiving UM RLC entity may update VR(UR) to the SN of the first UMD PDU with SN≥VR(UX) that has not been received; and reassemble RLC SDUs from any UMD PDUs with SN<updated VR(UR), remove RLC headers when doing so and deliver the reassembled RLC SDUs to upper layer in ascending order of the RLC SN if not delivered before.

If VR(UH)>VR(UR), the receiving UM RLC entity may start t-Reordering, and set VR(UX) to VR(UH).

Each transmitting UM RLC entity shall maintain the following state variables above mentioned:

a) VT(US): this state variable holds the value of the SN to be assigned for the next newly generated UMD PDU. It is initially set to 0, and is updated whenever the UM RLC entity delivers an UMD PDU with SN=VT(US).

Each receiving UM RLC entity shall maintain the following state variables above mentioned:

a) VR(UR)-UM receive state variable: this state variable holds the value of the SN of the earliest UMD PDU that is still considered for reordering. It is initially set to 0.

b) VR(UX)-UM t-Reordering state variable: this state variable holds the value of the SN following the SN of the UMD PDU which triggered t-Reordering.

c) VR(UH)-UM highest received state variable: this state variable holds the value of the SN following the SN of the UMD PDU with the highest SN among received UMD PDUs, and it serves as the higher edge of the reordering window. It is initially set to 0.

FIGS. 14a to 14f are conceptual diagrams illustrating for UMD PDU.

FIG. 14a is a diagram for a UMD PDU with 5 bit SN, FIG. 14b is a diagram for a UMD PDU with 10 bit SN, FIG. 14c is a diagram for a UMD PDU with 5 bit SN (Odd number of LIs, i.e. K=1, 3, 5, . . . ), FIG. 14d is a diagram for a UMD PDU with 5 bit SN (Even number of LIs, i.e. K=2, 4, 6, . . . ), FIG. 14e is a UMD PDU with 10 bit SN (Odd number of LIs, i.e. K=1, 3, 5, . . . ), and FIG. 14f is a diagram for a UMD PDU with 10 bit SN (Even number of LIs, i.e. K=2, 4, 6, . . . ).

UMD PDU consists of a Data field and an UMD PDU header. UMD PDU header consists of a fixed part (fields that are present for every UMD PDU) and an extension part (fields that are present for an UMD PDU when necessary). The fixed part of the UMD PDU header itself is byte aligned and consists of a FI, an E and a SN. The extension part of the UMD PDU header itself is byte aligned and consists of E(s) and LI(s).

An UM RLC entity is configured by RRC to use either a 5 bit SN or a 10 bit SN. When the 5 bit SN is configured, the length of the fixed part of the UMD PDU header is one byte. When the 10 bit SN is configured, the fixed part of the UMD PDU header is identical to the fixed part of the AMD PDU header, except for D/C, RF and P fields all being replaced with R1 fields. The extension part of the UMD PDU header is identical to the extension part of the AMD PDU header (regardless of the configured SN size).

An UMD PDU header consists of an extension part only when more than one Data field elements are present in the UMD PDU, in which case an E and a LI are present for every Data field element except the last. Furthermore, when an UMD PDU header consists of an odd number of LI(s), four padding bits follow after the last LI.

In the definition of each field in FIG. 14a to FIG. 14f , the bits in the parameters are represented in which the first and most significant bit is the left most bit and the last and least significant bit is the rightmost bit. Unless mentioned otherwise, integers are encoded in standard binary encoding for unsigned integers.

-   -   Data field: The Data field elements are mapped to the Data field         in the order which they arrive to the RLC entity at the         transmitter. The granularity of the Data field size is one byte;         and the maximum Data field size is the maximum TB size minus the         sum of minimum MAC PDU header size and minimum RLC PDU header         size. A UMD PDU segment is mapped to the Data field. Zero RLC         SDU segments and one or more RLC SDUs, one or two RLC SDU         segments and zero or more RLC SDUs; the RLC SDU segments are         either mapped to the beginning or the end of the Data field, a         RLC SDU or RLC SDU segment larger than 2047 octets can only be         mapped to the end of the Data field. When there are two RLC SDU         segments, they belong to different RLC SDUs.     -   Sequence number (SN) field: the SN field indicates the sequence         number of the corresponding UMD or AMD PDU. For an AMD PDU         segment, the SN field indicates the sequence number of the         original AMD PDU from which the AMD PDU segment was constructed         from. The sequence number is incremented by one for every UMD or         AMD PDU. Length is 5 bits or 10 bits (configurable) for UMD PDU.     -   Extension bit (E) field: Length is 1 bit. The E field indicates         whether Data field follows or a set of E field and LI field         follows. The interpretation of the E field is provided in Table         1 and Table 2.

TABLE 1 Value Description 0 Data field follows from the octet following the fixed part of the header 1 A set of E field and LI field follows from the octet following the fixed part of the header

TABLE 2 Value Description 0 Data field follows from the octet following the LI field following this E field 1 A set of E field and LI field follows from the bit following the LI field following this E field

-   -   Length Indicator (LI) field: Length is 11 bits. The LI field         indicates the length in bytes of the corresponding Data field         element present in the RLC data PDU delivered/received by an UM         or an AM RLC entity. The first LI present in the RLC data PDU         header corresponds to the first Data field element present in         the Data field of the RLC data PDU, the second LI present in the         RLC data PDU header corresponds to the second Data field element         present in the Data field of the RLC data PDU, and so on. The         value 0 is reserved.     -   Framing Info (FI) field: Length is 2 bits. The FI field         indicates whether a RLC SDU is segmented at the beginning and/or         at the end of the Data field. Specifically, the FI field         indicates whether the first byte of the Data field corresponds         to the first byte of a RLC SDU, and whether the last byte of the         Data field corresponds to the last byte of a RLC SDU. The         interpretation of the FI field is provided in Table 3.

TABLE 3 Value Description 00 First byte of the Data field corresponds to the first byte of a RLC SDU. Last byte of the Data field corresponds to the last byte of a RLC SDU. 01 First byte of the Data field corresponds to the first byte of a RLC SDU. Last byte of the Data field does not correspond to the last byte of a RLC SDU. 10 First byte of the Data field does not correspond to the first byte of a RLC SDU. Last byte of the Data field corresponds to the last byte of a RLC SDU. 11 First byte of the Data field does not correspond to the first byte of a RLC SDU. Last byte of the Data field does not correspond to the last byte of a RLC SDU.

FIG. 15 is a conceptual diagram for functional view of a PDCP entity.

The PDCP entities are located in the PDCP sublayer. Several PDCP entities may be defined for a UE. Each PDCP entity carrying user plane data may be configured to use header compression. Each PDCP entity is carrying the data of one radio bearer. In this version of the specification, only the robust header compression protocol (ROHC), is supported. Every PDCP entity uses at most one ROHC compressor instance and at most one ROHC decompressor instance. A PDCP entity is associated either to the control plane or the user plane depending on which radio bearer it is carrying data for.

FIG. 15 represents the functional view of the PDCP entity for the PDCP sublayer, it should not restrict implementation. For RNs, integrity protection and verification are also performed for the u-plane.

UL Data Transfer Procedures:

At reception of a PDCP SDU from upper layers, the UE may start a discard timer associated with the PDCP SDU. For a PDCP SDU received from upper layers, the UE may associate a PDCP SN (Sequence Number) corresponding to Next_PDCP_TX_SN to the PDCP SDU, perform header compression of the PDCP SDU, perform integrity protection and ciphering using COUNT based on TX_HFN and the PDCP SN associated with this PDCP SDU, increment the Next_PDCP_TX_SN by one, and submit the resulting PDCP Data PDU to lower layer.

If the Next_PDCP_TX_SN is greater than Maximum_PDCP_SN, the Next_PDCP_TX_SN is set to ‘0’ and TX_HFN is incremented by one.

DL Data Transfer Procedures:

For DRBs mapped on RLC UM, at reception of a PDCP Data PDU from lower layers, if received PDCP SN<Next_PDCP_RX_SN, the UE may increment RX_HFN by one, and decipher the PDCP Data PDU using COUNT based on RX_HFN and the received PDCP SN. And the UE may set Next_PDCP_RX_SN to the received PDCP SN+1. If Next_PDCP_RX_SN>Maximum_PDCP_SN, the UE may set Next_PDCP_RX_SN to 0, and increment RX_HFN by one.

The UE may perform header decompression (if configured) of the deciphered PDCP Data PDU, and deliver the resulting PDCP SDU to upper layer.

FIGS. 16a and 16b are conceptual diagrams for PDCP Data PDU format for DRBs.

FIG. 16a shows the format of the PDCP Data PDU when a 12 bit SN length is used. This format is applicable for PDCP Data PDUs carrying data from DRBs mapped on RLC AM or RLC UM.

And the FIG. 16b shows the format of the PDCP Data PDU when a 7 bit SN length is used. This format is applicable for PDCP Data PDUs carrying data from DRBs mapped on RLC UM.

The receiving side of each PDCP entity may maintain the following state variables:

a) Next_PDCP_RX_SN: The variable Next_PDCP_RX_SN indicates the next expected PDCP SN by the receiver for a given PDCP entity. At establishment of the PDCP entity, the UE shall set Next_PDCP_RX_SN to 0.

b) RX_HFN: the variable RX_HFN indicates the HFN value for the generation of the COUNT value used for the received PDCP PDUs for a given PDCP entity. At establishment of the PDCP entity, the UE shall set RX_HFN to 0.

c) Last_Submitted_PDCP_RX_SN: for PDCP entities for DRBs mapped on RLC AM the variable Last_Submitted_PDCP_RX_SN indicates the SN of the last PDCP SDU delivered to the upper layers. At establishment of the PDCP entity, the UE shall set Last_Submitted_PDCP_RX_SN to Maximum_PDCP_SN.

In D2D communication, the UM RLC entity and the PDCP entity are established in the receiver side when the receiver receives the first RLC UMD PDU from the transmitter. At establishment, according to the prior art, the related state variables in the RLC entity (i.e. VR(UR) and VR(UH)) and PDCP entity (i.e. Next_PDCP_RX_SN and RX_HFN) are initialized to zero. However, this behavior causes following problems in RLC and PDCP, respectively.

In case of RLC entity, one of the current functions of the RLC UM entity is to perform re-ordering and duplicate detection. The RLC entity may discard received UMD PDUs if any of the conditions are met, if VR(UR)<x<VR(UH) and the UMD PDU with SN=x has been received before; or if (VR(UH)-UM_Window_Size)≤x<VR(UR).

Given the fact that a receiving UE can join/re-join the data reception from a transmitting source at any point in time, there is a possibility that the SN of the received packet will fall within the discard window and is incorrectly discarded. The probability of discarding packets will depend on the window size. For example, when a UE first sets up the receiving RLC entity, VR(UR) and VR(UH) are initially set to zero. The window size is set to 512 for a 10 bit SN. According to the formula above if the SN of the first received packet is between 512 and 1023 then the UE would discard the packet. The UE will continue discarding packets until a packet between 0 and 511 is received.

In case of PDCP entity, one of the current functions of the PDCP entity is to perform deciphering of the received PDCP SDU. The deciphering is performed based on the HFN and received PDCP SN. The HFN is increased by one when the PDCP SN wraps around.

The receiving UE establishes the PDCP entity when the first RLC UMD PDU is received from a transmitting UE, in which case the RX_HFN and Next_PDCP_RX_SN are initialized to zero. However, given the fact that a receiving UE can join/re-join the data reception from a transmitting source at any point in time, there is a possibility that the HFN is already increased to a certain value depending on the number of PDCP SN wrap around. If the HFN is desynchronized between the transmitter and the receiver, the receiver cannot decipher the received PDCP PDU correctly, and the communication will fail.

FIG. 17 is a conceptual diagram for processing RLC PDU for D2D communication according to embodiments of the present invention.

In order to synchronize the RLC and PDCP state variables between the transmitter and the receiver at the RLC and PDCP entity establishment in the receiver, the following methods are invented.

In RLC entity, when a receiver receives a first RLC PDU for a UM RLC entity from a transmitter, it establishes the UM RLC entity and sets the UM RLC state variables, VR(UH) and VR(UR), to the RLC sequence number (SN) of the first received RLC PDU for the UM RLC entity.

When a receiving UE (rx UE) receives a first RLC PDU for a RLC entity from a transmitting UE (tx UE) (S1701), the receiving UE establishes the RLC entity to process the first RLC PDU (S1703).

Preferably, the RLC entity established belongs to a sidelink radio bearer above mentioned.

Preferably, the first RLC PDU is an RLC PDU received firstly before any other RLC PDUs are received by the RLC entity from the transmitting UE.

After the step of S1703, the receiving UE sets state variables (e.g., VR(UR) and VR(UH)) for the RLC entity to a RLC sequence number (SN) of the first RLC PDU for the RLC entity (S1705).

referably, the VR(UR) is a received state variable for a UM RLC entity and holds a value of RLC SN of a earliest UMD PDU that is still considered for reordering.

Preferably, the VR(UH) is highest received state variable for the UM RLC entity and holds a value of RLC SN following SN of a UMD PDU with the highest SN among received UMD PDUs. For RLC entity configured for STCH, it is initially set to the SN of the first received UMD PDU.

In other words, the UM RLC state variables, VR(UH) and VR(UR), are initialized to the RLC SN of the first received UMD PDU for the UM RLC entity.

After initializing the VR(UR) and VR(UH) to the RLC SN of the first received UMD PDU, the receiver processes the UMD PDU using the initialized VR(UR) and VR(UH) (S1507). Since the first received SN is equal to VR(UR) and VR(UH), the first received UMD PDU is considered to be within the receiving window, and thus it is not discarded according to the following procedure.

When an UMD PDU with SN=x is received from lower layer, the receiving RLC entity may discard the received UMD PDU, if VR(UR)<x<VR(UH) and the UMD PDU with SN=x has been received before; or if (VR(UH)-UM_Window_Size)≤x<VR(UR). Otherwise, the receiving RLC entity may place the received UMD PDU in the reception buffer.

Preferably, the RLC entity may be a UM (Unacknowledged Mode)-RLC entity.

Preferably, the RLC PDU is an RLC UMD (Un Unacknowledged Mode Data) PDU.

FIG. 18 is a conceptual diagram for processing PDCP PDU for D2D communication according to embodiments of the present invention.

In order to synchronize the RLC and PDCP state variables between the transmitter and the receiver at the RLC and PDCP entity establishment in the receiver, the following methods are invented.

In a PDCP entity, a transmitting UE (tx UE) establishes a PDCP entity for transmitting a PDCP PDU to a receiving UE (rx UE) (S1801). When the transmitting UE receives a PDCP SDU from an upper layer (S1803), the transmitting UE sets a COUNT for the PDCP SDU using a fixed value and a PDCP Sequence Number associated with the PDCP SDU (S1805).

Preferably, the PDCP entity established belongs to a sidelink radio bearer above mentioned.

Preferably, bits of the COUNT consists of bits of the fixed value and bits of the PDCP SN, wherein the bits of the fixed value is a MSB (most significant bit) part of the COUNT, and the bits of the PDCP SN is a LSB (least significant bit) part of the COUNT.

The bits in the parameters are represented in which the first and most significant bit is the left most bit and the last and least significant bit is the rightmost bit. Unless mentioned otherwise, integers are encoded in standard binary encoding for unsigned integers.

Preferably, wherein the COUNT is 32 bits, the fixed value is 16 bits and, the PDCP SN is 16 bits. Thus, if the fixed value may be ‘zero’, 16 bit string occupied as ‘zero’ is the MSB part of the COUNT. That means the PDCP SN is pre-pended with Os to make it 32 bits long and it is input into zeroth-order of COUNT to 31^(st) of COUNT.

Preferably, the fixed value may be PTK ID. Actually, the PTK ID is not a fixed value, but the PTK ID can be used for the MSB part of the COUNT. Thus, zeroth-order of COUNT to 15th of COUNT are set to PTK ID, and PDCP SN is input into 16th of COUNT to 31st of COUNT.

The PTK (ProSe Traffic Key) identity may be set to a unique value in the sending UE that has not been previously used together with the same PGK and PGK identity in the UE. A 16-bit counter in association with the Group Identity, PGK identity and the Group Member Identity may be used as the PTK identity. Every time a new PTK needs to be derived, the PTK Identity counter is incremented.

After the step of S1805, the transmitting UE ciphers the PDCP SDU using the COUNT (S1807). The transmitting UE generates a PDCP PDU including the PDCP SDU and a header including the PDCP SN of the PDCP SDU (S1809).

And the transmitting UE transmits the PDCP PDU to the receiving UE (S1811).

When the receiving UE receives the PDCP PDU for a PDCP entity from the transmitting UE (S1811), the receiving UE sets a COUNT for the PDCP PDU using a fixed value and a PDCP Sequence Number (SN) associated with PDCP PDU (S1813).

The receiving UE does not know the fixed value (e.g., RX_HFN), and the deciphering would not succeed unless the receiver sets the fixed value to the correct value. For the receiving UE to synchronize the fixed value to the transmitting UE, it is therefore invented that the fixed value is used for the D2D communication.

Preferably, bits of the COUNT consists of bits of the fixed value and bits of the PDCP SN, wherein the bits of the fixed value is a MSB (most significant bit) part of the COUNT, and the bits of the PDCP SN is a LSB (least significant bit) part of the COUNT.

The bits in the parameters are represented in which the first and most significant bit is the left most bit and the last and least significant bit is the rightmost bit. Unless mentioned otherwise, integers are encoded in standard binary encoding for unsigned integers.

Preferably, wherein the COUNT is 32 bits, the fixed value is 16 bits and, the PDCP SN is 16 bits. Thus, if the fixed value may be ‘zero’, 16 bit string occupied as ‘zero’ is the MSB part of the COUNT. That means the PDCP SN is pre-pended with Os to make it 32 bits long and it is input into zeroth-order of COUNT to 31^(st) of COUNT.

Preferably, the fixed value may be PTK ID. Actually, the PTK ID is not a fixed value, but the PTK ID can be used for the MSB part of the COUNT. Thus, zeroth-order of COUNT to 15th of COUNT are set to PTK ID, and PDCP SN is input into 16th of COUNT to 31st of COUNT.

After the step of S1815, the receiving UE deciphers the PDCP PDU using the COUNT (S1815).

When the receiving UE receives the PDCP PDU for a PDCP entity from the transmitting UE (S1811), the receiving UE sets the PDCP state variable, Next_PDCP_RX_SN, to the PDCP SN of the received PDCP PDU for the PDCP entity (S1807).

Preferably, the PDCP PDU received at the step of S1811 is a PDCP PDU received firstly before any other PDCP PDUs are received by the PDCP entity from the transmitting UE. Thus, the receiving UE sets Next_PDCP_RX_SN to the PDCP SN of the first PDCP PDU for the PDCP entity (S1807).

Preferably, Next_PDCP_RX_SN indicates a next expected PDCP SN by a receiver for a given PDCP entity.

In other words, the PDCP state variable, Next_PDCP_RX_SN, is initialized to the PDCP SN of the received PDCP PDU for the PDCP entity.

Preferably, the fixed can be signaled to the receiving UE by the eNB when the eNB configures D2D configuration to the receiving UE, or can be fixed in the specification.

The transmitting UE and the receiving UE set a HFN value to the fixed value at establishment, and use the fixed HFN value for ciphering/deciphering of all the PDCP PDUs.

For the transmitting UE avoids HFN increment due to PDCP SN wrap around, it is also invented that the transmitting UE releases the used PDCP entity (S1821) and establishes a new PDCP entity (S1823) if a PDCP SN of a received PDCP SDU reaches the maximum value of the PDCP SN.

After initializing the Next_PDCP_RX_SN to the PDCP SN of the first received PDCP PDU and RX_HFN to the fixed value (S1813), the receiving UE processes the received PDCP PDU using the initialized Next_PDCP_RX_SN and RX_HFN (S1815).

It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of this invention provided they come within the scope of the appended claims and their equivalents.

The embodiments of the present invention described hereinbelow are combinations of elements and features of the present invention. The elements or features may be considered selective unless otherwise mentioned. Each element or feature may be practiced without being combined with other elements or features. Further, an embodiment of the present invention may be constructed by combining parts of the elements and/or features. Operation orders described in embodiments of the present invention may be rearranged. Some constructions of any one embodiment may be included in another embodiment and may be replaced with corresponding constructions of another embodiment. It is obvious to those skilled in the art that claims that are not explicitly cited in each other in the appended claims may be presented in combination as an embodiment of the present invention or included as a new claim by subsequent amendment after the application is filed.

In the embodiments of the present invention, a specific operation described as performed by the BS may be performed by an upper node of the BS. Namely, it is apparent that, in a network comprised of a plurality of network nodes including a BS, various operations performed for communication with an MS may be performed by the BS, or network nodes other than the BS. The term ‘eNB’ may be replaced with the term ‘fixed station’, ‘Node B’, ‘Base Station (BS)’, ‘access point’, etc.

The above-described embodiments may be implemented by various means, for example, by hardware, firmware, software, or a combination thereof.

In a hardware configuration, the method according to the embodiments of the present invention may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), processors, controllers, microcontrollers, or microprocessors.

In a firmware or software configuration, the method according to the embodiments of the present invention may be implemented in the form of modules, procedures, functions, etc. performing the above-described functions or operations. Software code may be stored in a memory unit and executed by a processor. The memory unit may be located at the interior or exterior of the processor and may transmit and receive data to and from the processor via various known means.

Those skilled in the art will appreciate that the present invention may be carried out in other specific ways than those set forth herein without departing from the spirit and essential characteristics of the present invention. The above embodiments are therefore to be construed in all aspects as illustrative and not restrictive. The scope of the invention should be determined by the appended claims and their legal equivalents, not by the above description, and all changes coming within the meaning and equivalency range of the appended claims are intended to be embraced therein. 

What is claimed is:
 1. A method for a User Equipment (UE) operating in a wireless communication system, the method comprising: establishing a Radio Link Control (RLC) entity and a Packet Data Convergence Protocol (PDCP) entity for a UE-to-UE direct communication after a 1^(st) RLC Protocol Data Unit (PDU) including a PDCP SDU for the RLC entity is received from a peer UE via a direct interface between the UE and the peer UE; initializing both VR(UR) and VR(UH) of the established RLC entity to a sequence number (SN) of the 1^(st) RLC PDU for the RLC entity, when the established RLC entity is configured for the UE-to-UE direct communication; processing the 1^(st) RLC PDU using the initialized VR(UR), the initialized VR(UH) and a non-zero reordering window; updating VR(UR) and VR(UH) to have different values, wherein VR(UR), associated with running a reordering timer of the RLC entity, is a state variable for indicating an SN of an earliest received RLC PDU that is considered for reordering, and VR(UH) is a state variable for indicating an SN following an SN of an RLC PDU with a highest SN among one or more received RLC PDUs; and deciphering the PDCP SDU based on a PDCP SN of the PDCP SDU, wherein deciphering the PDCP SDU does not require a Hyper Frame Number (HFN) of the PDCP SDU to be incremented, when the PDCP SN reaches a maximum value.
 2. The method according to claim 1, wherein the RLC entity is an Unacknowledged Mode (UM)-RLC entity.
 3. The method according to claim 1, wherein the RLC PDU is an RLC Unacknowledged Mode Data (UMD) PDU.
 4. The method according to claim 1, wherein the SN of the 1^(st) RLC PDU for the RLC entity is other than
 0. 5. The method according to claim 1, wherein when a value of VR(UH) is larger than a value of VR(UR), the UE starts the reordering timer.
 6. The method according to claim 1, wherein updating VR(UR) and VR(UH) includes, when an RLC PDU with SN=x is placed in a reception buffer and when x falls outside of the non-zero reordering window: updating VR(UH) to x+1; and updating VR(UR) to (VR(UH)−UM_window size), when VR(UR) falls outside of a reception window, wherein UM_Window_Size is a constant used by the RLC entity to define SNs of PDUs that can be received without causing advancement of the reception window.
 7. A User Equipment (UE) operating in a wireless communication system, the UE comprising: a transmitter and a receiver; and a processor, operatively coupled to the transmitter and the receiver, wherein the processor is configured to: establish a Radio Link Control (RLC) entity and a Packet Data Convergence Protocol (PDCP) entity for a UE-to-UE direct communication after a 1^(st) RLC Protocol Data Unit (PDU) including a PDCP SDU for the RLC entity is received from a peer UE via a direct interface between the UE and the peer UE, initialize both VR(UR) and VR(UH) of the established RLC entity to a sequence number (SN) of the 1^(st) RLC PDU, when the established RLC entity is configured for the UE-to-UE direct communication, process the 1^(st) RLC PDU using the initialized VR(UR), the initialized VR(UH) and a non-zero reordering window, update VR(UR) and VR(UH) to have different values, wherein VR(UR), associated with running a reordering timer of the RLC entity, is a state variable for indicating an SN of an earliest received RLC PDU that is considered for reordering, and VR(UH) is a state variable for indicating an SN following an SN of an RLC PDU with a highest SN among one or more received RLC PDUs, and decipher the PDCP SDU based on a PDCP SN of the PDCP SDU, wherein deciphering the PDCP SDU does not require a Hyper Frame Number (HFN) of the PDCP SDU to be incremented, when the PDCP SN reaches a maximum value.
 8. The UE according to claim 7, wherein the RLC entity is an Unacknowledged Mode (UM)-RLC entity.
 9. The UE according to claim 7, wherein the RLC PDU is an RLC Unacknowledged Mode Data (UMD) PDU.
 10. The UE according to claim 7, wherein the SN of the 1^(st) RLC PDU for the RLC entity is other than
 0. 11. The UE according to claim 7, wherein when a value of VR(UH) is larger than a value of VR(UR), the UE starts the reordering timer.
 12. The UE according to claim 7, wherein, when an RLC PDU with SN=x is placed in a reception buffer and when x falls outside of the non-zero reordering window, the processor is further configured to: update VR(UH) to x+1; and update VR(UR) to (VR(UH)−UM_window size), when VR(UR) falls outside of the reception window, wherein UM_Window_Size is a constant used by the RLC entity to define SNs of PDUs that can be received without causing advancement of the reception window. 